home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 60.zip
/
BS1 part 60
/
Kick Pascal v2.10 d1.adf
/
INCLUDE
/
exec
/
devices.h
< prev
next >
Wrap
Text File
|
1990-11-01
|
646b
|
30 lines
{$if not def EXEC_DEVICES_H}
CONST EXEC_DEVICES_H=0;
{$if not def EXEC_LIBRARIES_H;incl"exec/libraries.h";endif}
{$if not def EXEC_PORTS_H;incl"exec/ports.h";endif}
TYPE
p_Device=^Device;
Device=Record
dd_Library:_Library
End;
p_Unit=^Unit;
Unit=Record
unit_MsgPort:MsgPort;
unit_flags,unit_pad:Byte;
unit_OpenCnt:Word
End;
CONST
UNITF_ACTIVE=$1;
UNITF_INTASK=$2;
{$endif}
{$if not def EXEC_DEVICES_LIB}
Const EXEC_DEVICES_LIB=0;
Library SysBase:
-432:Procedure AddDevice(a1:p_Device);
-438:Procedure RemDevice(a1:p_Device);
-444:Function OpenDevice(a0:Str; d0:Long; a1:Ptr; d1:Long):Long;
-450:Procedure CloseDevice(a1:Ptr)
End;
{$endif}